echo "init my web service"

source ./lib.sh

run "install nginx" "true" sudo yum install nginx -y

echo "config nginx"
sudo cp -f ./base/nginx/hontlong.com.conf /etc/nginx/conf.d/
sudo cp -f ./base/nginx/aimiduoduo.com.conf /etc/nginx/conf.d/

echo "start nginx"
sudo service nginx start

echo "check"
echo "http://aimiduoduo.com"
